package com.itheima.core.service;


import com.itheima.core.po.Function;
import com.itheima.core.po.FunctionRight;
import com.itheima.core.po.Role;
import com.itheima.core.po.RoleRight;

import java.util.List;

/**
 * 用户Service层接口
 */
public interface RoleRightService {

	List<RoleRight> findZtree();

	String[] findChecked(Integer id);

	Integer clearRight(Integer id);

	Integer saveRoleRight(Integer id,String[] rights);

	List<RoleRight> findAllFunctionNodes();

	Function findFunctionById(String function_id);

	List<Function> findSubmoduleById(String parent_id);

	List<FunctionRight> findFunctionRightById(String function);

}
